import ChitchatUser from "./ChitchatUser";

class ChitchatGroup {
  groupname: string;
  avatarUrl: string;
  token?: string;
  group_id: number;
  user_id: number;
  member?: Map<number,ChitchatUser>;
  constructor(admin: ChitchatGroup) {
    this.user_id = admin.user_id;
    this.groupname = admin.groupname;
    this.avatarUrl = admin.avatarUrl;
    this.group_id = admin.group_id;
  }
}
export default ChitchatGroup;

